/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package pe.edu.sistemas.sse.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import pe.edu.sistemas.sse.dao.IEmpresaDao;
import pe.edu.sistemas.sse.entity.Empresa;
import pe.edu.sistemas.sse.service.IJefeUBienestarService;

/**
 *
 * @author laptop-w8
 */
@Service("jefeUBienestarService")
@Transactional(readOnly = true)
public class JefeUBienestarService implements IJefeUBienestarService {

    @Autowired
    IEmpresaDao empresaDao;

    @Override
    public boolean registrarPresencialEmpresa(Empresa empresa) {
        return empresaDao.agregarEmpresa(empresa);
    }

}
